import vtkmodules.all as vtk


class VScalarBarActor:

    def __init__(self):
        self.instance = vtk.vtkScalarBarActor()

    def bind_lookup_table(self, lookup_table):
        self.instance.SetLookupTable(lookup_table)

    def set_title(self, title):
        self.instance.SetTitle(title)

    def set_num_of_labels(self, num_of_labels):
        self.instance.SetNumOfLabels(num_of_labels)
